package utils;

/**
 * ClassName:employees
 * Package:JDBCutils
 * Description
 *
 * @Author:@wenxueshi
 * @Create:2022/11/30 - 16:07
 * @Version:v1.0
 */
public class employees {
    private int getid;
    private int index;
    private int id;
    private String name;
    private int age;
    private int salary;
    private int bonus;
    private int stock;

    public employees() {
    }

    public employees(int index, int id, String name, int age, int salary, int bonus, int stock) {
        this.index = index;
        this.id = id;
        this.name = name;
        this.age = age;
        this.salary = salary;
        this.bonus = bonus;
        this.stock = stock;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    public int getBonus() {
        return bonus;
    }

    public void setBonus(int bonus) {
        this.bonus = bonus;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    @Override
    public String toString() {
        return "employees{" +
                "index=" + index +
                ", id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", salary=" + salary +
                ", bonus=" + bonus +
                ", stock=" + stock +
                '}';
    }
}
